package com.hnust.aopdemo.chain;

public abstract class ChainHandler {
    public void execute(Chain chain) {
        handleProcess();
        //循环调用proceed
        chain.proceed();
    }
    protected abstract void handleProcess();
}
